class C:
    x = 1
    def foo(self): pass